<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    {% load static %}
    <link rel="stylesheet" href="{% static 'css/index2.css' %}">

</head>
<body>
    <h2>静态文件的使用</h2>
    <hr>

    <img src="{% static 'image/77.jpg' %}" width="200">
    <img src="/static/image/77.jpg" width="200">


    <script src="{% static 'js/index2.js' %}"></script>

</body>
</html>